import com.echo.service.MailService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class testmail {

    @Autowired
    private MailService mailService;

    @Test
    public void sendTemplateMail(){
        mailService.sendMail("1046968088@qq.com","主题：这是模板邮件","123456");
    }

}
